// Copyright (c) 2009 Luca Marrocco.
// Modified or written by Luca Marrocco for inclusion with codej.
// Licensed under the Apache License, Version 2.0 (the "License")
package codej.ast;

import codej.ast.*;
import codej.ast.*;

/** @author Luca Marrocco */
public class While extends Statement {

	public void accept(Visitor visitor) {
		visitor.visit(this);
	}

	public While addExpression(Expression expression) {
		addChild(expression);
		return this;
	}

	public While addStatement(Statement statement) {
		addChild(statement);
		return this;
	}
}
